home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
_EULAWatcherSetupUtil.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
1KB
|
35 lines
package
{
import flash.display.Sprite;
import mx.binding.IWatcherSetupUtil;
import mx.binding.PropertyWatcher;
import mx.core.IFlexModuleFactory;
public class _EULAWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
{
public function _EULAWatcherSetupUtil()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
EULA.watcherSetupUtil = new _EULAWatcherSetupUtil();
}
public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
{
param4[2] = new PropertyWatcher("description",{"propertyChange":true},[param3[2]],param2);
param4[1] = new PropertyWatcher("header",{"propertyChange":true},[param3[1]],param2);
param4[4] = new PropertyWatcher("cancelLabel",{"propertyChange":true},[param3[4]],param2);
param4[0] = new PropertyWatcher("agree",{"propertyChange":true},[param3[0]],param2);
param4[2].updateParent(param1);
param4[1].updateParent(param1);
param4[4].updateParent(param1);
param4[0].updateParent(param1);
}
}
}